<div id="overlay" class="lightboxFullPage" style="display:none"></div>

<div id="loading" style="display:none">
    <div class="loading-indicator">
		<img src="${base}/images/indicator.gif" width="32" height="32" style="float:left;vertical-align:top;"/>
	</div>
</div>

<form id="addPlaylistForm" method="POST" action="/view/editplaylist" style="display:none">
    <div class="fields">
      <@ui.input '名称' 'name' '{required:true, minlength:3}'/>
      <@ui.textarea '描述' 'description'/>
      <@ui.input '标签(逗号分隔)' 'tags'/>
    </div>
    <div class="actions">  
		<input type="submit" class="button button_primary" value="提交"/>
		<a href="#">取消</a>
    </div>
</form>

<form id="addPlaylistResForm" method="POST" action="/view/playlistresource" style="display:none">
  <div class="fields">
  	<input type="hidden" name="playlistId"/>
  	<@ui.input '标题' 'title' '{required:true}'/>
  	<@ui.input '作者' 'author' />
  	<@ui.input 'URL' 'url' '{required:true}'/>
  	<@ui.textarea '描述' 'description'/>
  	<@ui.textarea '注释' 'note'/>
  </div>
  <div class="actions">  
	<input type="submit" class="button button_primary" value="提交"/>
	<a href="#">取消</a>
  </div>
</form>

<form id="addPlaylistCommentForm" method="POST" action="/view/playlistcomment" style="display:none">
  <div class="fields">
  	<input type="hidden" name="playlistId"/>
  	<@ui.input '标题' 'title' "{required:true}"/>
  	<@ui.textarea '正文' 'body'/>
  </div>
  <div class="actions">  
	<input type="submit" class="button button_primary" value="提交"/>
	<a href="#">取消</a>
  </div>
</form>

<div id="editProfileFrag" class="padded" style="display:none">
  <h2 class="simple">编缉个人资料</h2><br/>
  <div class="sectionHeader">上传头像</div>
  <div class="sectionContent">
  <table cellspacing="0" cellpadding="0"><tbody>
  <tr>
    <td width="130"><img width="100" height="100" src="${base}/images/silhouette_130b.gif"/></td>
    <td style="padding-left:30px">
        <p>请不要上传任何未授权或者是非法图片</p>
        <form id="uploadProfilePictureForm" method="post" action="${base}/view/profilepicture" enctype="multipart/form-data">
		    <input type="file" size="30" value="" name="uploadFile"/><p>
			<input type="submit" class="button" value="上传照片" name="uploadPhoto"/></p>
        </form>
    </td>
  </tr>
  </tbody></table>
  </div>
  <div class="sectionHeader">个人信息</div>
  <div class="sectionContent">
  </div>
</div>
